• Azure role-based access control (Azure RBAC) is a system that allows us to define and manage fine-grained access to Azure resources. RBAC not only provides Azure admins a lot of control by neatly defining roles and responsibilities, but also enables admins to control access to team members/users by allowing or disabling actions they can perform on Azure Resources.

  • Enterprise servers are not always exposed to the internet and are often sitting behind firewalls with restrictions to prohibit any malicious activity on an internet-facing server. But to install a Docker image from the Docker Hub, you need internet access. To overcome this, you can configure a Docker client to use a proxy server if one is available, but there is another way around this, which we will discuss in the following high-level steps.

  • Various ways exist to copy data between a Hyper-V host and its guest machines. In this post, I will discuss the enhanced session mode, the PowerShell Copy-VMFile cmdlet, the option to mount a virtual hard disk, and using a network share.

  • Prateek Singh liked comment of Sanket Gupta on Join an Azure VM to an on-prem Active Directory. (So far, Sanket Gupta has 1 likes for this comment.) 4 years, 4 months ago

  • PowerShell type accelerators are aliases for .NET classes or types, which makes using classes in PowerShell scripts much easier. The intention behind type accelerators is to use shorter names for .NET classes and types and save some unnecessary typing. For example, when you use the type accelerator [int] to define an integer value, there’s actually no data type called int. Instead, it’s just an alias for the [System.Int32] class.

  • There are several scenarios in a hybrid cloud setup where you would want virtual machines running on Azure to be part of an on-premises Active Directory.

  • The Windows Subsystem for Linux (WSL) lets developers and system administrators run a Bash shell in a chosen Linux distribution package. They can run their favorite command-line Linux tools like the Amazon Web Services (AWS) Command Line Interface (CLI) in Python on Windows 10.

  • While working with remote computers with PowerShell, you’ll come across many scenarios where you may want to use local variables or data in a remote session. But when you try to use a local variable in a remote session, it may not work or may throw an error because the local variable doesn’t exist in the remote session.

  • In this post you will learn how to perform various disk management tasks with PowerShell. I will explain how to list disks, format disks, initialize disks, and create and delete volumes and partitions.

  • In this post you will learn how to install an FTP server with PowerShell. I will show you how to configure the site name, port, and root folders. Then I will explain how to create FTP users, how to authenticate users, and how to configure the SSL policy and NTFS permissions.

  • Amazon CloudWatch is a monitoring service for Amazon Web Services (AWS) that provides robust monitoring of your entire AWS infrastructure resources and applications. It can collect data, gain insights, and alert users to fix problems within applications and resources if required. Amazon CloudWatch can also hold and represent your custom data in a graph. It is not necessarily limited to data from your AWS infrastructure and resources.

  • I agree you can not use New, Remove, Copy, Move-Item, because even though the information store looks like a File System it is just a model of a another system with different types/objects which has nothing to do with Files or directories. But we can write custom functions or use modules that work for the system we are modeling by importing them in the SHiPS provider module.

    For example the Azure Drive in Azure cloud shell which is also a SHiPS implementation, if you navigate to ./Subscription/VirtualMachines/ you can use  New-AzureRmVM command to create a New Item (Virtual Machine) under that directory and if you look closely it uses the AzureRM.Compute module which has been imported to fulfill such needs.
    PS Azure:> cd ./Pay-As-You-Go/VirtualMachines/
    PS Azure:> Get-AzureRmCommand | Where-Object Name -like “New-*”
    CommandType Name Version Source
    ———– —- ——- ——
    Cmdlet New-AzureRmVM 0.12.0 AzureRM.Compute.Netcore
    Cmdlet New-AzureRmVMConfig 0.12.0 AzureRM.Compute.Netcore
    Cmdlet New-AzureRmVMDataDisk 0.12.0 AzureRM.Compute.Netcore

    Following is a link if you want to take a look how AzurePSDrive is Implemented using SHiPS – https://github.com/PowerShell/AzurePSDrive/blob/development/AzurePSDrive.psm1

  • Windows PowerShell providers offer an abstraction layer to access data stores and their components, which would not be accessible otherwise through the command line. In this post you will learn how to create your own custom PowerShell provider.

  • Azure drive (AzurePSDrive) is a custom PowerShell provider written with the Simple Hierarchy in PowerShell (SHiPS) module, mountable with the New-PSDrive cmdlet. The SHiPS module has the capability to convert any information store or system into a hierarchy tree accessible like a file system. It converts Azure Resource Manager (AzureRM) resource items to a SHiPS-based drive for easy navigation and discovery through your cloud shell.

  • In this post you will learn how to install the AWS Tools for PowerShell Core The AWS (Amazon Web Services) Tools for PowerShell Core are modules built upon functionalities exposed by the AWS SDK (Software Development Kit) for .NET. With this, you can automate and operate on AWS resources from a PowerShell command line.

  • Prateek Singh's profile was updated 4 years, 9 months ago

  • Prateek Singh changed their profile picture 4 years, 9 months ago

  • Load More
© 4sysops 2006 - 2023


Please ask IT administration questions in the forums. Any other messages are welcome.


Log in with your credentials


Forgot your details?

Create Account