This Week I Learned -
* PowerShell's Invoke-RestMethod command can be used to call REST APIs
* To celebrate 10 years of AWS, AWS training partner, qwikLABS is offering 95 free online self-paced labs through the end of March 2016.
* “Polanyi’s Paradox” - “We know more than we can tell”. The top Go players can’t fully access their own knowledge about how they’re able to perform so well. This self-ignorance is common to many human abilities, from driving a car in traffic to recognizing a face. Polanyi’s Paradox hasn’t prevented us from using computers to accomplish complicated tasks, like processing payrolls, optimizing flight schedules, routing telephone calls and calculating taxes. But as anyone who’s written a traditional computer program can tell you, automating these activities has required painstaking precision to explain exactly what the computer is supposed to do. AlphaGo, the artificial intelligence system built by the Google subsidiary DeepMind, does use simulations and traditional search algorithms to help it decide on some moves, but its real breakthrough is its ability to overcome Polanyi’s Paradox - NY Times
* Financial institutions in the United States are obliged by the Gramm-Leach-Bliley Act to ensure the security and confidentiality of personal information. Complaints against violations can be filed with the FTC
* Denmark and other countries which top the list of happiest countries are fairly homogeneous nations with strong social safety nets. Factors which contribute to the rankings - gross domestic product per capita (the rawest measure of a nation’s wealth); healthy years of life expectancy; social support (as measured by having someone to count on in times of trouble); trust (as measured by perceived absence of corruption in government and business); perceived freedom to make life choices; and generosity (as measured by donations)...crises can prompt vastly different responses based on the underlying social fabric. In Greece, where the economy began to plummet in 2007, setting off a crisis in the eurozone that has resulted in three financial bailouts, widespread corruption and mistrust were associated with the diminishing sense of happiness over the past decade. In contrast, trust and “social capital” are so high in Japan that scholars found, to their surprise, that happiness actually increased in Fukushima, which was devastated by an earthquake and tsunami in 2011, because an outpouring of generosity and cooperation contributed to the community’s resilience and rebuilding. - NY Times
* From the comments to the above linked article - Denmark is also one of the top countries for prescriptions for antidepressants.
* For the past half-century, the world economy has been held hostage by just one country: the Kingdom of Saudi Arabia.
* US, once the world's largest wheat exporter, is scheduled to import the grain this month from South America.
* Websites which provide online recharging facility & connect consumers with mobile, DTH & data service providers in India can get up to 3% on a transaction
* ISRO has a public page showing places in India with heaviest rainfall. Bhuvan, ISRO's geo-platform, has lots of interesting info on India presented through maps.
* Securities and Exchange Board of India (SEBI) currently permits investment of Rs 50,000/- per Financial Year per Mutual Fund for Aadhaar based eKYC using OTP verification.
* "Knowledge is only potential power. For the power to be manifested, it must be applied" - Arthashastra
TripleGold777 is a leading technology media property, dedicated to obsessively profiling startups, reviewing new Internet products, and breaking tech news.
Showing posts with label PowerShell. Show all posts
Showing posts with label PowerShell. Show all posts
Saturday, 19 March 2016
This Week I Learned - Week #154
Monday, 11 January 2016
Azure PowerShell - Questions & Answers
1. What is Azure PowerShell?
Azure PowerShell is a module that provides cmdlets to manage Azure with Windows PowerShell. The Azure Powershell 1.0.1 MSI is hosted on Github (and not on a Microsoft domain as may be expected). Windows PowerShell scripts are saved as ps1 files. However, if a file is saved as a psm1 file, it can be treated as a module. The functions defined in the psm1 file become the cmdlet names used.
2. How can you know if Azure PowerShell is installed on a machine?
To see all available Windows PowerShell modules, the command is:
get-module -listavailable
See if Azure PowerShell is included. To know the PowerShell version installed on a machine, try -
$psversiontable
3. How can you find the version of Azure PowerShell module installed on a machine?
To check the version of a module in your PowerShell environment, the command is:
(Get-Module <module name>).Version
So to know the version of Azure PowerShell module installed on a machine, use:
(Get-Module Azure).Version
4. How to know what cmdlets are part of the Azure PowerShell module?
To list all the cmdlets that are part of the Azure PowerShell module, run this command:
Get-Command -Module Azure
5. What are the other software that Azure PowerShell module depends on?
Azure PowerShell requires PowerShell 3+ and .Net 4.5. A small number of cmdlets that control the compute emulator require Azure SDK. Other dependencies are generally shipped with the modules themselves.
6. Which authentication techniques do Azure PowerShell cmdlets support?
The Azure PowerShell cmdlets support two authentication techniques: AAD and self-signed X.509 certificates. AAD authentication can be used for both the classic Azure Service Management (ASM) mode and the new Azure Resource Manager (ARM) mode of the Azure cmdlets. Certificate authentication can be used only for ASM mode. Azure Resource Manager does not support client certificate authentication (though it does support certificate authentication for Service Principal)
Azure PowerShell is a module that provides cmdlets to manage Azure with Windows PowerShell. The Azure Powershell 1.0.1 MSI is hosted on Github (and not on a Microsoft domain as may be expected). Windows PowerShell scripts are saved as ps1 files. However, if a file is saved as a psm1 file, it can be treated as a module. The functions defined in the psm1 file become the cmdlet names used.
2. How can you know if Azure PowerShell is installed on a machine?
To see all available Windows PowerShell modules, the command is:
get-module -listavailable
See if Azure PowerShell is included. To know the PowerShell version installed on a machine, try -
$psversiontable
3. How can you find the version of Azure PowerShell module installed on a machine?
To check the version of a module in your PowerShell environment, the command is:
(Get-Module <module name>).Version
So to know the version of Azure PowerShell module installed on a machine, use:
(Get-Module Azure).Version
4. How to know what cmdlets are part of the Azure PowerShell module?
To list all the cmdlets that are part of the Azure PowerShell module, run this command:
Get-Command -Module Azure
5. What are the other software that Azure PowerShell module depends on?
Azure PowerShell requires PowerShell 3+ and .Net 4.5. A small number of cmdlets that control the compute emulator require Azure SDK. Other dependencies are generally shipped with the modules themselves.
6. Which authentication techniques do Azure PowerShell cmdlets support?
The Azure PowerShell cmdlets support two authentication techniques: AAD and self-signed X.509 certificates. AAD authentication can be used for both the classic Azure Service Management (ASM) mode and the new Azure Resource Manager (ARM) mode of the Azure cmdlets. Certificate authentication can be used only for ASM mode. Azure Resource Manager does not support client certificate authentication (though it does support certificate authentication for Service Principal)
Thursday, 22 October 2015
This Week I Learned - Week #133
This Week I Learned -
* Microsoft’s cloud business has grown by 8 percent, to $5.9 billion.
* PowerShell one-liner to list the VM names, cloud service names and availability set names (if any) for all your VMs -
(Get-AzureService).servicename | foreach {Get-AzureVM -ServiceName $_ } | select name,AvailabilitySetName
* IBM has set up its first public cloud data centre in Chennai
* "It took Google – which just last year settled a 7-yearlong $1-billion lawsuit with cable company Viacom Inc. for YouTube’s “immoral” business model of broadcasting copyrighted content – 8 years to break even with its $1.6-billion purchase of YouTube."
* People (not Twitter) invented new ways to communicate over Twitter. The ideas of hashtags, tweetstorms, and retweets came from folks outside of Twitter like Chris Messina, Marc Andreesen, and Tim O'Reilly.
* Internet billionaire Mark Shuttleworth was at one time one of the developers of the Debian operating system & later funded the development of Ubuntu, a Linux distribution based on Debian
* Google gets 95 per cent of its $66-billion revenue from selling advertising.
* To change the Microsoft account you use on your phone, you first have to reset your phone to factory settings. This will delete any content and settings you've added to your phone, including music, videos, pictures, apps, games, documents, and accounts. Huh!
* The Front-End Handbook by Cody Lindley is available for free download in a variety of formats
* Eligible Kindle books can be lent to another reader for 14 days
* The memory footprint of the Flipkart app is 10 MB, while the size of Snapdeal Android app is 8.42MB and Amazon(varying on different devices) is 9.25MB
* Under 10% of India’s population is insured
* Richest 1% own 53% of India’s wealth
* The Indian travel and tourism market is a 42 billion USD industry, and will be growing at a CAGR of 10.2 percent over the next 10 years. Online travel agents (OTA) account for 17.5 percent of total gross bookings.
* The Tamil contribution to Agra's famed petha is that the humble pooshnikai or ash gourd used in the sweetmeat is grown on fields in Madurai & sent North - The Hindu
* The simple looking USB drive has complex parts & can be dangerous
* Microsoft’s cloud business has grown by 8 percent, to $5.9 billion.
* PowerShell one-liner to list the VM names, cloud service names and availability set names (if any) for all your VMs -
(Get-AzureService).servicename | foreach {Get-AzureVM -ServiceName $_ } | select name,AvailabilitySetName
* SQLIO (SQLIO Disk Subsystem Benchmark Tool) is a tool provided by Microsoft which can also be used to determine the I/O capacity of a given configuration.
* This PowerShell script sample from Technet Gallery demonstrates how to utilize Azure PowerShell to deploy a Windows based virtual machine from the Azure image gallery and configure Storage Spaces to get the highest storage performance currently available.
* "It took Google – which just last year settled a 7-yearlong $1-billion lawsuit with cable company Viacom Inc. for YouTube’s “immoral” business model of broadcasting copyrighted content – 8 years to break even with its $1.6-billion purchase of YouTube."
* People (not Twitter) invented new ways to communicate over Twitter. The ideas of hashtags, tweetstorms, and retweets came from folks outside of Twitter like Chris Messina, Marc Andreesen, and Tim O'Reilly.
* Internet billionaire Mark Shuttleworth was at one time one of the developers of the Debian operating system & later funded the development of Ubuntu, a Linux distribution based on Debian
* Google gets 95 per cent of its $66-billion revenue from selling advertising.
* To change the Microsoft account you use on your phone, you first have to reset your phone to factory settings. This will delete any content and settings you've added to your phone, including music, videos, pictures, apps, games, documents, and accounts. Huh!
* The Front-End Handbook by Cody Lindley is available for free download in a variety of formats
* Eligible Kindle books can be lent to another reader for 14 days
* The memory footprint of the Flipkart app is 10 MB, while the size of Snapdeal Android app is 8.42MB and Amazon(varying on different devices) is 9.25MB
* Under 10% of India’s population is insured
* Richest 1% own 53% of India’s wealth
* The Indian travel and tourism market is a 42 billion USD industry, and will be growing at a CAGR of 10.2 percent over the next 10 years. Online travel agents (OTA) account for 17.5 percent of total gross bookings.
* The Tamil contribution to Agra's famed petha is that the humble pooshnikai or ash gourd used in the sweetmeat is grown on fields in Madurai & sent North - The Hindu
* The simple looking USB drive has complex parts & can be dangerous
Subscribe to:
Posts (Atom)